class CreateEmpresas < ActiveRecord::Migration
  def self.up
    create_table :empresas do |t|
      t.column :registroans, :integer, :null => false, :limit => 6
      t.column :cnpj , :integer, :null => false
      t.column :nome, :string, :null => false
    end
  end

  def self.down
    drop_table :empresas
  end
end
